#!/bin/bash
#
USER=entropy
GROUP=entropy
#
mkdir /var/log/entropy
mkdir /var/run/entropy
mkdir /var/lib/entropy
mkdir /usr/share/doc/entropy
mkdir /etc/entropy
#
cp -r de node chat doc/config seed.txt blacklist.txt whitelist.txt /etc/entropy
cp entropy_rsa /usr/bin
cp init.d/entropy /etc/init.d
cp  doc/* /usr/share/doc/entropy
#
chown -R $USER.$GROUP /var/log/entropy
chown -R $USER.$GROUP /var/run/entropy
chown -R $USER.$GROUP /var/lib/entropy
chown -R $USER.$GROUP /etc/entropy
